DataSource for Entity Framework in WPF
C1.LiveLinq.LiveViews Namespace / View<T> Class / IndexOf Method
The object to locate in the view.

In This Topic
    IndexOf Method (View<T>)
    In This Topic
    Searches for the specified object among the elements of the view and returns the zero-based ordinal position of its first occurrence.
    Syntax
    'Declaration
     
    Public Function IndexOf( _
       ByVal item As T _
    ) As Integer
    public int IndexOf( 
       T item
    )

    Parameters

    item
    The object to locate in the view.

    Return Value

    The zero-based ordinal position of the first occurrence of item in the view, if found; otherwise, -1.
    See Also